import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { DictIntIntHelper } from "../Public/DictIntIntHelper";
type int = number;
//class SIllustrateInfo
    
    export  class SIllustrateInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SIllustrateInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.illustrateId);
            arg1.writeInt(this.status);
            DictIntIntHelper.write(arg1, this.pieces);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.illustrateId = arg1.readInt();
            this.status = arg1.readInt();
            this.pieces = DictIntIntHelper.read(arg1);
            return;
        }

        public /* const */_type: int=12485;

        public /* var */illustrateId: int;

        public /* var */status: int;

        public /* var */pieces: Map<any, any> /* flash.utils.Dictionary */;

        public static /* var */_regist: SIllustrateInfo;
    }

            SIllustrateInfo._regist = new SIllustrateInfo(true);
        